Optimal. Leaf size=97 \[ \frac{2}{3} d^6 \left (b^2-4 a c\right ) (b+2 c x)^3+2 d^6 \left (b^2-4 a c\right )^2 (b+2 c x)-2 d^6 \left (b^2-4 a c\right )^{5/2} \tanh ^{-1}\left (\frac{b+2 c x}{\sqrt{b^2-4 a c}}\right )+\frac{2}{5} d^6 (b+2 c x)^5 \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.216887, antiderivative size = 97, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125 \[ \frac{2}{3} d^6 \left (b^2-4 a c\right ) (b+2 c x)^3+2 d^6 \left (b^2-4 a c\right )^2 (b+2 c x)-2 d^6 \left (b^2-4 a c\right )^{5/2} \tanh ^{-1}\left (\frac{b+2 c x}{\sqrt{b^2-4 a c}}\right )+\frac{2}{5} d^6 (b+2 c x)^5 \]
Antiderivative was successfully verified.
[In] Int[(b*d + 2*c*d*x)^6/(a + b*x + c*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 52.0941, size = 110, normalized size = 1.13 \[ 2 b d^{6} \left (- 4 a c + b^{2}\right )^{2} + 4 c d^{6} x \left (- 4 a c + b^{2}\right )^{2} + \frac{2 d^{6} \left (b + 2 c x\right )^{5}}{5} + \frac{2 d^{6} \left (b + 2 c x\right )^{3} \left (- 4 a c + b^{2}\right )}{3} - 2 d^{6} \left (- 4 a c + b^{2}\right )^{\frac{5}{2}} \operatorname{atanh}{\left (\frac{b + 2 c x}{\sqrt{- 4 a c + b^{2}}} \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((2*c*d*x+b*d)**6/(c*x**2+b*x+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.15346, size = 120, normalized size = 1.24 \[ d^6 \left (\frac{4}{15} c x \left (16 c^2 \left (15 a^2-5 a c x^2+3 c^2 x^4\right )+20 b^2 c \left (7 c x^2-9 a\right )+120 b c^2 x \left (c x^2-a\right )+45 b^4+90 b^3 c x\right )-2 \left (4 a c-b^2\right )^{5/2} \tan ^{-1}\left (\frac{b+2 c x}{\sqrt{4 a c-b^2}}\right )\right ) \]
Antiderivative was successfully verified.
[In] Integrate[(b*d + 2*c*d*x)^6/(a + b*x + c*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.005, size = 284, normalized size = 2.9 \[{\frac{64\,{d}^{6}{c}^{5}{x}^{5}}{5}}+32\,{d}^{6}b{c}^{4}{x}^{4}-{\frac{64\,{d}^{6}{x}^{3}a{c}^{4}}{3}}+{\frac{112\,{d}^{6}{x}^{3}{b}^{2}{c}^{3}}{3}}-32\,{d}^{6}{x}^{2}ab{c}^{3}+24\,{d}^{6}{x}^{2}{b}^{3}{c}^{2}+64\,{d}^{6}{a}^{2}{c}^{3}x-48\,{d}^{6}a{b}^{2}{c}^{2}x+12\,{d}^{6}{b}^{4}cx-128\,{\frac{{d}^{6}{a}^{3}{c}^{3}}{\sqrt{4\,ac-{b}^{2}}}\arctan \left ({\frac{2\,cx+b}{\sqrt{4\,ac-{b}^{2}}}} \right ) }+96\,{\frac{{d}^{6}{a}^{2}{b}^{2}{c}^{2}}{\sqrt{4\,ac-{b}^{2}}}\arctan \left ({\frac{2\,cx+b}{\sqrt{4\,ac-{b}^{2}}}} \right ) }-24\,{\frac{{d}^{6}a{b}^{4}c}{\sqrt{4\,ac-{b}^{2}}}\arctan \left ({\frac{2\,cx+b}{\sqrt{4\,ac-{b}^{2}}}} \right ) }+2\,{\frac{{d}^{6}{b}^{6}}{\sqrt{4\,ac-{b}^{2}}}\arctan \left ({\frac{2\,cx+b}{\sqrt{4\,ac-{b}^{2}}}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((2*c*d*x+b*d)^6/(c*x^2+b*x+a),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*c*d*x + b*d)^6/(c*x^2 + b*x + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.217671, size = 1, normalized size = 0.01 \[ \left [\frac{64}{5} \, c^{5} d^{6} x^{5} + 32 \, b c^{4} d^{6} x^{4} + \frac{16}{3} \,{\left (7 \, b^{2} c^{3} - 4 \, a c^{4}\right )} d^{6} x^{3} + 8 \,{\left (3 \, b^{3} c^{2} - 4 \, a b c^{3}\right )} d^{6} x^{2} +{\left (b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}\right )} \sqrt{b^{2} - 4 \, a c} d^{6} \log \left (\frac{2 \, c^{2} x^{2} + 2 \, b c x + b^{2} - 2 \, a c - \sqrt{b^{2} - 4 \, a c}{\left (2 \, c x + b\right )}}{c x^{2} + b x + a}\right ) + 4 \,{\left (3 \, b^{4} c - 12 \, a b^{2} c^{2} + 16 \, a^{2} c^{3}\right )} d^{6} x, \frac{64}{5} \, c^{5} d^{6} x^{5} + 32 \, b c^{4} d^{6} x^{4} + \frac{16}{3} \,{\left (7 \, b^{2} c^{3} - 4 \, a c^{4}\right )} d^{6} x^{3} + 8 \,{\left (3 \, b^{3} c^{2} - 4 \, a b c^{3}\right )} d^{6} x^{2} - 2 \,{\left (b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}\right )} \sqrt{-b^{2} + 4 \, a c} d^{6} \arctan \left (\frac{2 \, c x + b}{\sqrt{-b^{2} + 4 \, a c}}\right ) + 4 \,{\left (3 \, b^{4} c - 12 \, a b^{2} c^{2} + 16 \, a^{2} c^{3}\right )} d^{6} x\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*c*d*x + b*d)^6/(c*x^2 + b*x + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 3.44577, size = 337, normalized size = 3.47 \[ 32 b c^{4} d^{6} x^{4} + \frac{64 c^{5} d^{6} x^{5}}{5} + d^{6} \sqrt{- \left (4 a c - b^{2}\right )^{5}} \log{\left (x + \frac{16 a^{2} b c^{2} d^{6} - 8 a b^{3} c d^{6} + b^{5} d^{6} - d^{6} \sqrt{- \left (4 a c - b^{2}\right )^{5}}}{32 a^{2} c^{3} d^{6} - 16 a b^{2} c^{2} d^{6} + 2 b^{4} c d^{6}} \right )} - d^{6} \sqrt{- \left (4 a c - b^{2}\right )^{5}} \log{\left (x + \frac{16 a^{2} b c^{2} d^{6} - 8 a b^{3} c d^{6} + b^{5} d^{6} + d^{6} \sqrt{- \left (4 a c - b^{2}\right )^{5}}}{32 a^{2} c^{3} d^{6} - 16 a b^{2} c^{2} d^{6} + 2 b^{4} c d^{6}} \right )} + x^{3} \left (- \frac{64 a c^{4} d^{6}}{3} + \frac{112 b^{2} c^{3} d^{6}}{3}\right ) + x^{2} \left (- 32 a b c^{3} d^{6} + 24 b^{3} c^{2} d^{6}\right ) + x \left (64 a^{2} c^{3} d^{6} - 48 a b^{2} c^{2} d^{6} + 12 b^{4} c d^{6}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*c*d*x+b*d)**6/(c*x**2+b*x+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.215734, size = 266, normalized size = 2.74 \[ \frac{2 \,{\left (b^{6} d^{6} - 12 \, a b^{4} c d^{6} + 48 \, a^{2} b^{2} c^{2} d^{6} - 64 \, a^{3} c^{3} d^{6}\right )} \arctan \left (\frac{2 \, c x + b}{\sqrt{-b^{2} + 4 \, a c}}\right )}{\sqrt{-b^{2} + 4 \, a c}} + \frac{4 \,{\left (48 \, c^{10} d^{6} x^{5} + 120 \, b c^{9} d^{6} x^{4} + 140 \, b^{2} c^{8} d^{6} x^{3} - 80 \, a c^{9} d^{6} x^{3} + 90 \, b^{3} c^{7} d^{6} x^{2} - 120 \, a b c^{8} d^{6} x^{2} + 45 \, b^{4} c^{6} d^{6} x - 180 \, a b^{2} c^{7} d^{6} x + 240 \, a^{2} c^{8} d^{6} x\right )}}{15 \, c^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*c*d*x + b*d)^6/(c*x^2 + b*x + a),x, algorithm="giac")
[Out]